document.querySelector('.search-input').addEventListener('input', function(e) {
	const searchText = e.target.value.toLowerCase();
	const rows = document.querySelectorAll('tbody tr');

	rows.forEach(row => {
		const courseName = row.children[1].textContent.toLowerCase();
		row.style.display = courseName.includes(searchText) ? '' : 'none';
	});
});